home *** CD-ROM | disk | FTP | other *** search
/ develop, the CD; issue 1 / Apple_Develop_1989.bin / Compatibility / Printing / showpage info < prev   
Text File  |  1989-11-30  |  1KB  |  29 lines

  1. Date    11/30/89
  2. Topic    guess...
  3. From    Scott 'ZZ' Zimmerman
  4. To    Dave Radcliffe
  5.  
  6.                        Subject:                                Time: 2:15 PM
  7.   OFFICE MEMO          guess...                                Date: 11/30/89
  8. When I print a PostScript file, why do I get one blank page for every page
  9. printed?
  10.  
  11.     Your PostScript file probably contains calls to the PostScript 'showpage' 
  12.     operator.  This operator is also called by the LaserWriter driver when it 
  13.     receives the PrClosePage call.  The solution to this problem is to strip 
  14.     'showpage' calls from the file before sending it to the LaserWriter.  If 
  15.     you send one Quickdraw graphic at the beginning of each page,
  16.  
  17.         (ie. MoveTo(-32000, -32000); Line(0, 0);)
  18.  
  19.     the LaserWriter driver will handle calling showpage for you.  Versions of 
  20.     the LaserWriter driver before 5.2 do not send the 'showpage' operator 
  21.     unless a Quickdraw drawing routine (ie. something other than PicComment) is 
  22.     sent.  This is why you need to do the MoveTo/LineTo.  Versions 5.2 and 
  23.     later will send the 'showpage' operator whether any Quickdraw has been sent 
  24.     or not.  Since you can't be sure whether showpage will be sent for you or 
  25.     not, the best solution is to always let the LaserWriter driver send it.
  26.  
  27.  
  28.  
  29.